package com.niodata.dp.monitor.sharelib.entity.file;

import java.io.Serializable;
import java.util.HashMap;
import java.util.Map;

public class FileMonitorItem implements Serializable {

  private static final long serialVersionUID = 1928579781234817467L;

  private FileMonitorItemType type;

  //监控项配置值
  private Map<String, Object> config = new HashMap<>();

  public FileMonitorItemType getType() {
    return type;
  }

  public void setType(FileMonitorItemType type) {
    this.type = type;
  }

  public Map<String, Object> getConfig() {
    return config;
  }

  public void setConfig(Map<String, Object> config) {
    this.config = config;
  }

  @Override
  public String toString() {
    return "FileMonitorItem{"
          + "type=" + type
          + ", config=" + config
          + '}';
  }
}
